﻿namespace Chess.Common.Game
{
    public class Move
    {
        // don't name it things like "end", it should be "End"
        // second, use resharper to refactor, when you want to rename a variable, use F2, like so
        public Piece Piece { get; private set; }
        public Coordinate Start { get; private set; }
        public Coordinate End { get; private set; }

        public Move(Piece piece, Coordinate start, Coordinate end)
        {
            Piece = piece;
            Start = start;
            End = end;
        }
    }
}
